{template common/contentheader} 
<div class="setcontent">
	<div class="settitle">
		<h3>{lang permission_edit:admin}-$group['usergroup_name']</h3>
	</div>
	<div class="setform">
		<form class="pzform" method="post" action="{url admin/usergroup?act=permission&type=$type&submit=1&gid=$group['usergroup_id']}" id="addform">
			<div class="formgroup">
				<label class="formlabel">{lang allowurl:admin}:</label>
				<div class="formcontrol">
					<input type="radio" name="allowurl" value="1" {if $group['allowurl']}checked{/if}>{lang yes:admin}</input>
              		<input type="radio" name="allowurl" value="0" {if !$group['allowurl']}checked{/if}>{lang no:admin}</input>
				</div>
				<span class="formhelp">{lang allowurl:admin}</span>
			</div>
			
			<div class="formgroup">
				<label class="formlabel">{lang maxfollow:admin}:</label>
				<div class="formcontrol">
					<input type="text" name="maxfollow" value="$group['maxfollow']"/>
				</div>
				<span class="formhelp">{lang maxfollow:admin}</span>
			</div>
			
			<div class="formgroup">
				<label class="formlabel">{lang maxattachnum:admin}:</label>
				<div class="formcontrol">
					<input type="text" name="maxattachnum" value="$group['maxattachnum']"/>
				</div>
				<span class="formhelp">{lang maxattachnum:admin}</span>
			</div>
			
			<div class="formgroup">
				<label class="formlabel">{lang maxattachsize:admin}:</label>
				<div class="formcontrol">
					<input type="text" name="maxattachsize" value="$group['maxattachsize']"/>
				</div>
				<span class="formhelp">{lang maxattachsize:admin}</span>
			</div>
			
			<div class="formgroup">
				<label class="formlabel">{lang maxmessage:admin}:</label>
				<div class="formcontrol">
					<input type="text" name="maxmessage" value="$group['maxmessage']"/>
				</div>
				<span class="formhelp">{lang maxmessage:admin}</span>
			</div>
			
			<div class="formgroup">
				<label class="formlabel">{lang allowfileext:admin}:</label>
				<div class="formcontrol">
					<input type="text" name="allowfileext" value="$group['allowfileext']"/>
				</div>
				<span class="formhelp">{lang allowfileext:admin} jpg|gif|zip</span>
			</div>
			
			<div class="formgroup">
				<label class="formlabel">{lang maxcrgroup:admin}:</label>
				<div class="formcontrol">
					<input type="text" name="maxcrgroup" value="$group['maxcrgroup']"/>
				</div>
				<span class="formhelp">{lang maxcrgroup:admin}</span>
			</div>
			
			<div class="formgroup">
				<label class="formlabel">{lang maxcrtopic:admin}:</label>
				<div class="formcontrol">
					<input type="text" name="maxcrtopic" value="$group['maxcrtopic']"/>
				</div>
				<span class="formhelp">{lang maxcrtopic:admin}</span>
			</div>
			
			<div class="formgroup">
				<label class="formlabel">{lang maxalbum:admin}:</label>
				<div class="formcontrol">
					<input type="text" name="maxalbum" value="$group['maxalbum']"/>
				</div>
				<span class="formhelp">{lang maxalbum:admin}</span>
			</div>
			
			<div class="formgroup">
				<label class="formlabel">{lang allowvideo:admin}:</label>
				<div class="formcontrol">
					<input type="radio" name="allowvideo" value="1" {if $group['allowvideo']}checked{/if}>{lang yes:admin}</input>
              		<input type="radio" name="allowvideo" value="0" {if !$group['allowvideo']}checked{/if}>{lang no:admin}</input>
				</div>
				<span class="formhelp">{lang allowvideo:admin}</span>
			</div>
			
			<div class="formgroup">
				<label class="formlabel">{lang allowposturl:admin}:</label>
				<div class="formcontrol">
					<input type="radio" name="allowposturl" value="0" {if $group['allowposturl']=='0'}checked{/if}>{lang allowposturl_banned:admin}</input><br/>
              		<input type="radio" name="allowposturl" value="1" {if $group['allowposturl']=='1'}checked{/if}>{lang allowposturl_mod:admin}</input><br/>
              		<input type="radio" name="allowposturl" value="2" {if $group['allowposturl']=='2'}checked{/if}>{lang allowposturl_notlink:admin}</input><br/>
              		<input type="radio" name="allowposturl" value="3" {if $group['allowposturl']=='3'}checked{/if}>{lang allowposturl_allow:admin}</input>
				</div>
				<span class="formhelp">{lang allowposturl_tip:admin}</span>
			</div>
			
			<div class="formgroup">
				<label class="formlabel">{lang allowfetch:admin}:</label>
				<div class="formcontrol">
					<input type="radio" name="allowfetch" value="1" {if $group['allowfetch']}checked{/if}>{lang yes:admin}</input>
              		<input type="radio" name="allowfetch" value="0" {if !$group['allowfetch']}checked{/if}>{lang no:admin}</input>
				</div>
				<span class="formhelp">{lang allowfetch:admin}</span>
			</div>
			
			
			<div class="formbuttons">
				<button type="submit" class="btn btn-primary">{lang save:admin}</button>
			</div>
		</form>
	</div>
</div>
{template common/contentfooter}